package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 视频监控对象 dispatchVideoMonitor
 * 
 * @author ruoyi
 * @date 2025-03-02
 */
public class DispatchVideoMonitor extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 视频监控编号 */
    private Long videoMonitorId;

    /** 站点编号 */
    @Excel(name = "站点编号")
    private Long siteId;

    /** 摄像头名称 */
    @Excel(name = "摄像头名称")
    private String cameraName;

    /** 摄像头安装位置 */
    @Excel(name = "摄像头安装位置")
    private String cameraLocation;

    /** 摄像头状态 */
    @Excel(name = "摄像头状态")
    private String cameraStatus;

    /** 视频流 URL */
    @Excel(name = "视频流 URL")
    private String videoStreamUrl;

    /** 视频存储路径 */
    @Excel(name = "视频存储路径")
    private String videoStoragePath;

    /** 视频录制开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "视频录制开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startRecordTime;

    /** 视频录制结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "视频录制结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endRecordTime;

    /** 视频录制时长 */
    @Excel(name = "视频录制时长")
    private Long recordDuration;

    /** 创建人 */
    @Excel(name = "创建人")
    private String creator;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updater;

    public void setVideoMonitorId(Long videoMonitorId) 
    {
        this.videoMonitorId = videoMonitorId;
    }

    public Long getVideoMonitorId() 
    {
        return videoMonitorId;
    }
    public void setSiteId(Long siteId) 
    {
        this.siteId = siteId;
    }

    public Long getSiteId() 
    {
        return siteId;
    }
    public void setCameraName(String cameraName) 
    {
        this.cameraName = cameraName;
    }

    public String getCameraName() 
    {
        return cameraName;
    }
    public void setCameraLocation(String cameraLocation) 
    {
        this.cameraLocation = cameraLocation;
    }

    public String getCameraLocation() 
    {
        return cameraLocation;
    }
    public void setCameraStatus(String cameraStatus) 
    {
        this.cameraStatus = cameraStatus;
    }

    public String getCameraStatus() 
    {
        return cameraStatus;
    }
    public void setVideoStreamUrl(String videoStreamUrl) 
    {
        this.videoStreamUrl = videoStreamUrl;
    }

    public String getVideoStreamUrl() 
    {
        return videoStreamUrl;
    }
    public void setVideoStoragePath(String videoStoragePath) 
    {
        this.videoStoragePath = videoStoragePath;
    }

    public String getVideoStoragePath() 
    {
        return videoStoragePath;
    }
    public void setStartRecordTime(Date startRecordTime) 
    {
        this.startRecordTime = startRecordTime;
    }

    public Date getStartRecordTime() 
    {
        return startRecordTime;
    }
    public void setEndRecordTime(Date endRecordTime) 
    {
        this.endRecordTime = endRecordTime;
    }

    public Date getEndRecordTime() 
    {
        return endRecordTime;
    }
    public void setRecordDuration(Long recordDuration) 
    {
        this.recordDuration = recordDuration;
    }

    public Long getRecordDuration() 
    {
        return recordDuration;
    }
    public void setCreator(String creator) 
    {
        this.creator = creator;
    }

    public String getCreator() 
    {
        return creator;
    }
    public void setUpdater(String updater) 
    {
        this.updater = updater;
    }

    public String getUpdater() 
    {
        return updater;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("videoMonitorId", getVideoMonitorId())
            .append("siteId", getSiteId())
            .append("cameraName", getCameraName())
            .append("cameraLocation", getCameraLocation())
            .append("cameraStatus", getCameraStatus())
            .append("videoStreamUrl", getVideoStreamUrl())
            .append("videoStoragePath", getVideoStoragePath())
            .append("startRecordTime", getStartRecordTime())
            .append("endRecordTime", getEndRecordTime())
            .append("recordDuration", getRecordDuration())
            .append("createTime", getCreateTime())
            .append("creator", getCreator())
            .append("updater", getUpdater())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
